package comm;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class dbcon {
	public Connection connect()
	{
		Connection con=null;
//		String DB_IP ="oracle.topteam1.cafe24.com:1521";
//		String DB_SID="orcl";
//		String DB_USERID="topteam1";
//		String DB_USERPW="project1team";
		try{
			Class.forName("oracle.jdbc.driver.OracleDriver");
				con = DriverManager.getConnection("jdbc:oracle:thin:@oracle.skyassettest.cafe24.com:1521:orcl","skyassettest","sky1623gh");	
		}catch(SQLException se){
			se.printStackTrace();
		}catch(Exception e){
			e.printStackTrace();
		}
		return con;
	}
}
